package com.hyl.crmclient.redis;

import org.junit.Test;
import redis.clients.jedis.Jedis;

/**
 * @Description TODO
 * @Author hyl
 * @Date 2022/6/10 9:38
 **/
public class JedisTest {

	@Test
	public  void testRedis(){
		Jedis jedis = new Jedis("127.0.0.1",6379 );
		jedis.set("name","319");

		String ret = jedis.get("name");
		System.out.println(ret);
	}
}
